Skip to content

refactor: use vitest for IndexedDB tests#20127

Merged
Thunkar merged 1 commit intonextfrom
martin/vitest-in-kv-store
Feb 6, 2026
Merged

refactor: use vitest for IndexedDB tests#20127
Thunkar merged 1 commit intonextfrom
martin/vitest-in-kv-store

Conversation

@mverzilli
Copy link
Contributor

@mverzilli mverzilli commented Feb 3, 2026

Modernizes the kv-store test harness to use Vitest+WebdriverIO to for IndexedDB tests... and some leaks that were causing this not to work on CI envs:

Leaky store management in tests: https://github.com/AztecProtocol/aztec-packages/pull/20127/changes#diff-967a973ac623e1daae8f3f51eaecee5209f80137dfce63c754a434f6d2fa74c9L11

Potential dangling queue resources when disposing stores: https://github.com/AztecProtocol/aztec-packages/pull/20127/changes#diff-6b0ce142eec6a47bdf684122466135c5405a67083e4aea5105e471bcad0631b3R206

@mverzilli mverzilli requested a review from Thunkar February 3, 2026 11:18
@socket-security
Copy link

socket-security bot commented Feb 3, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​vitest@​4.0.18961007999100
Addednpm/​@​vitest/​browser-playwright@​4.0.181001008698100

View full report

@socket-security
Copy link

socket-security bot commented Feb 3, 2026

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@mverzilli mverzilli added ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure ci-squash-and-merge and removed ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure labels Feb 3, 2026
@mverzilli mverzilli enabled auto-merge February 3, 2026 16:57
@AztecBot AztecBot force-pushed the martin/vitest-in-kv-store branch from 3b42347 to fb25c97 Compare February 3, 2026 17:00
@mverzilli mverzilli added this pull request to the merge queue Feb 3, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 3, 2026
@mverzilli mverzilli enabled auto-merge February 3, 2026 19:25
@AztecBot AztecBot force-pushed the martin/vitest-in-kv-store branch from 32cbc05 to 9b13934 Compare February 3, 2026 19:29
@AztecBot AztecBot force-pushed the martin/vitest-in-kv-store branch from 9b13934 to 3b2e145 Compare February 3, 2026 19:32
@mverzilli mverzilli added this pull request to the merge queue Feb 3, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 3, 2026
@mverzilli mverzilli added ci-full Run all master checks. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure ci-squash-and-merge and removed ci-full Run all master checks. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure labels Feb 3, 2026
@mverzilli mverzilli enabled auto-merge February 3, 2026 22:32
@AztecBot AztecBot force-pushed the martin/vitest-in-kv-store branch from 9c0cd84 to 5ba1637 Compare February 3, 2026 22:35
@AztecBot AztecBot force-pushed the martin/vitest-in-kv-store branch from 5ba1637 to 2a91e6f Compare February 3, 2026 22:47
@mverzilli mverzilli added this pull request to the merge queue Feb 3, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 3, 2026
@mverzilli mverzilli enabled auto-merge February 5, 2026 16:50
@AztecBot AztecBot force-pushed the martin/vitest-in-kv-store branch from c45aa2a to 4927421 Compare February 5, 2026 17:18
@mverzilli mverzilli added this pull request to the merge queue Feb 5, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 5, 2026
@mverzilli mverzilli added this pull request to the merge queue Feb 5, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 5, 2026
@mverzilli mverzilli added this pull request to the merge queue Feb 5, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 5, 2026
@mverzilli mverzilli enabled auto-merge February 6, 2026 10:05
@AztecBot AztecBot force-pushed the martin/vitest-in-kv-store branch from 8d1ea1e to 568f3c4 Compare February 6, 2026 10:25
Modernizes the kv-store test harness to use Vitest+WebdriverIO to for IndexedDB tests... and some leaks that were causing this not to work on CI envs:

Leaky store management in tests: https://github.com/AztecProtocol/aztec-packages/pull/20127/changes#diff-967a973ac623e1daae8f3f51eaecee5209f80137dfce63c754a434f6d2fa74c9L11

Potential dangling queue resources when disposing stores: https://github.com/AztecProtocol/aztec-packages/pull/20127/changes#diff-6b0ce142eec6a47bdf684122466135c5405a67083e4aea5105e471bcad0631b3R206
@AztecBot AztecBot force-pushed the martin/vitest-in-kv-store branch from 568f3c4 to 4d342fc Compare February 6, 2026 10:28
@mverzilli mverzilli added this pull request to the merge queue Feb 6, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 6, 2026
@Thunkar Thunkar added this pull request to the merge queue Feb 6, 2026
Merged via the queue into next with commit 9fc1f73 Feb 6, 2026
20 checks passed
@Thunkar Thunkar deleted the martin/vitest-in-kv-store branch February 6, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants